home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / ftn / swrite.z / swrite
Encoding:
Text File  |  2002-10-03  |  2.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. sssswwwwrrrriiiitttteeee((((3333GGGG))))                                                          sssswwwwrrrriiiitttteeee((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      sssswwwwrrrriiiitttteeee - specify which stencil bits can be written
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee sssswwwwrrrriiiitttteeee((((mmmmaaaasssskkkk))))
  13.      iiiinnnntttteeeeggggeeeerrrr****4444 mmmmaaaasssskkkk
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _m_a_s_k   expects a mask whose least-significant bits are used to control
  17.             writing of the stencil bitplanes.  Bitplanes corresponding to 1's
  18.             in the mask can be written, those corresponding to 0's are read-
  19.             only.
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      sssswwwwrrrriiiitttteeee specifies which of the stencil bitplanes are written both during
  23.      normal stencil operation and stencil clear (see sssscccclllleeeeaaaarrrr).  Bits 0 through
  24.      _p_l_a_n_e_s-1 are significant, where _p_l_a_n_e_s is the current size of the stencil
  25.      buffer.
  26.  
  27.      Because only the normal framebuffer includes stencil bitplanes, sssswwwwrrrriiiitttteeee
  28.      should be called only while draw mode is NNNNOOOORRRRMMMMAAAALLLL.
  29.  
  30.      sssswwwwrrrriiiitttteeee is initialized when a window is created, and when ggggccccoooonnnnffffiiii is
  31.      called, to enable all stencil bitplanes.
  32.  
  33. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  34.      drawmo, gconfi, sclear, stenci, stensi
  35.  
  36. NNNNOOOOTTTTEEEESSSS
  37.      IRIS-4D G, GT, and GTX models, as well as the Personal Iris, Indy, Iris
  38.      Indigo Entry and XL, do not support stencil bitplanes, and therefore do
  39.      not support sssswwwwrrrriiiitttteeee.  Use ggggeeeettttggggddddeeee to determine whether stencil bitplanes
  40.      are supported.
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.